import { request } from "@/.umi/plugin-request/request"
import { IQueryItem } from "@/utils/AnswerDetailManage"

//问题回显
//sypt/answer/8087917564540837888
export let getSyptAnswer = (params: any) => {
    return request(`/sypt/answer/${params}`)
}
//评论列表  /sypt/reply/answerList?answerId=8087694429350617088&status=0&isScort=1&pageNum=1&pageSize=10
export let getSyptAnswerList = (params:IQueryItem) => {
    return request('/sypt/reply/answerList/', { params })
}
//屏蔽
export let getAnswerShield = (params: string) => {
    return request(`/sxpt/reply/shield?answerReplyId=${params}`)
}
//取消屏蔽
///sxpt/reply/deleteShield?answerReplyId=8090770346956644352
export let getDeleteShield = (params: string) => {
    return request(`/sxpt/reply/deleteShield?answerReplyId=${params}`)
}